From: John Wiegley Date: Fri, 18 May 2001 16:39:29 +0000 (+0000) Subject: (eshell-completion-command-name, eshell-complete-commands-list): Use X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40222 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=758dd0ef896b85fe1fbef51ecc256a37b1b853d4;p=emacs.git (eshell-completion-command-name, eshell-complete-commands-list): Use `eshell-explicit-command-char' instead of ?*. --- diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el index 6c3032d069e..3b620b074d2 100644 --- a/lisp/eshell/em-cmpl.el +++ b/lisp/eshell/em-cmpl.el @@ -306,7 +306,7 @@ to writing a completion function." "Return the command name, possibly sans globbing." (let ((cmd (file-name-nondirectory (pcomplete-arg 'first)))) (setq cmd (if (and (> (length cmd) 0) - (eq (aref cmd 0) ?*)) + (eq (aref cmd 0) eshell-explicit-command-char)) (substring cmd 1) cmd)) (if (eshell-under-windows-p) @@ -396,7 +396,7 @@ to writing a completion function." (if (file-name-directory filename) (pcomplete-executables) (if (and (> (length filename) 0) - (eq (aref filename 0) ?*)) + (eq (aref filename 0) eshell-explicit-command-char)) (setq filename (substring filename 1) pcomplete-stub filename glob-name t))